package qc.module.sl.api.controller;

import org.springframework.web.bind.annotation.*;
import qc.module.sl.dto.warn.WarnRecordInfoDto;
import qc.module.sl.dto.warn.condition.StationWarnQueryConditionDto;
import qc.module.sl.dto.warn.condition.WarnGradeStatisticsConditionDto;
import qc.module.sl.dto.warn.condition.WarnQueryConditionDto;
import qc.module.sl.dto.warn.condition.WarnStationStatisticsConditionDto;
import qc.module.sl.dto.warn.result.WarnGradeStatisticsResultDto;
import qc.module.sl.dto.warn.result.WarnStationStatisticsResultItemDto;

import java.util.List;

/**
 * WarnQueryController
 *
 * @author QuCheng Tech
 * @create 2023/1/9
 */

@RestController
@RequestMapping("/warn")
public class WarnQueryController {

    @GetMapping("/sts-stations")
    public List<WarnStationStatisticsResultItemDto> statisticsStations(@RequestBody WarnStationStatisticsConditionDto dto) {
        return null;
    }

    @GetMapping("/sts-warngrade")
    public List<WarnGradeStatisticsResultDto> statisticsWarnGrade(@RequestBody WarnGradeStatisticsConditionDto dto) {
        return null;
    }

    @GetMapping("/query")
    public List<WarnRecordInfoDto> query(@RequestBody WarnQueryConditionDto dto) {
        return null;
    }

    @GetMapping("/queryByStation")
    public List<WarnRecordInfoDto> queryByStation(@RequestBody StationWarnQueryConditionDto dto) {
        return null;
    }

    @GetMapping("/get")
    public WarnRecordInfoDto get(@RequestParam(required = true) String id) {
        return null;
    }
}
